﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DrugStorehouseMIS.DAL.Interface
{
    public interface ISupplierDAL
    {
        IDataReader Select(int SupplierNum);

        IDataReader Select(string SupplierName);

        DataTable Select();

        int Insert(string SupplierName,string SpellCode,string Address,string ContactPerson,string Telephone,string Email,string CreditLevel,int FalgDisable);

        int Update(int SupplierNum, string SupplierName, string SpellCode, string Address, string ContactPerson, string Telephone, string Email, string CreditLevel, int FalgDisable);

        int Delete(int SupplierNum);
    }
}
